const { resolve } = require('path')

module.exports = {
    configureWebpack() {
        return {
            resolve: {
                alias: {
                    '@': resolve('src'),
                    Assets: resolve('src/assets')
                }
            }
        }
    },
    pluginOptions: {
        'style-resources-loader': {
            preProcessor: 'scss',
            patterns: [
                resolve(__dirname, 'src/styles/marx/_variable.scss'),
                resolve(__dirname, 'src/styles/marx/_mixin.scss'),
                resolve(__dirname, 'src/styles/theme.scss')
            ]
        }
    }
}
